package com.erp.warehouse.clouderp_warehouse.pojo.inbound;

import com.erp.warehouse.clouderp_warehouse.pojo.serial.OrderSerial;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 物品入库，可以按照批次依次入库
 * @TableName inbound_order_item
 */
@Getter
@Setter
public class InboundOrderItem {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String inboundId;

    /**
     * 
     */
    private String goodsId;
    private String goodsName;

    /**
     * 
     */
    private String batchNo;

    /**
     * 
     */
    private Integer expiration;

    /**
     * 
     */
    private Integer quantity;

    /**
     * 
     */
    private BigDecimal unitPrice;

    /**
     * 
     */
    private BigDecimal totalPrice;

    /**
     * 
     */
    private String warehouseLocationId;
    private String warehouseLocationName;

    /**
     * 
     */
    private String warehouseId;
    private String warehouseName;

    /**
     * 
     */
    private String unitId;
    private String unitName;

    /**
     * 
     */
    private Date birthday;

    /**
     * 
     */
    private Byte type;

    private String specification;

    private String categoryId; //
    private String categoryName; //

    private Integer availableStock; //存储的是当时的可用库存

    List<OrderSerial> serialList;

}